<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/index.css" rel="stylesheet">
</head>
<body>
     <nav class="navbar bg-primary navbar-fixed-top">
         <div class="container">
             <div class="navbar-header">
                 <a class="navbar-brand" href="#">
                     <img class="media-object headphoto" src="./upload/${currentUser.filename}" alt="headphoto" width="36px" height="36px">
                 </a>
             </div>
             <h3>Welcome, ${currentUser.username} !</h3>
         </div>
     </nav>
     
     <div class="container box">
        <form action="./Articleadd" method="post">
            <div class="form-group" >
            <h3>Article Writer</h3>
                <label for="articleTitleInput">Title</label>
                <input type="text" class="form-control" id="articleTitleInput" placeholder="Title" name="title">
            </div>
            <div class="form-group">
                <label for="articleInput">Content</label>
                <textarea class="form-control" id="articleInput" rows="15" placeholder="Article" name="content"></textarea>
            </div>
            <div class="form-group">
		    <div>
		      <button type="submit" class="btn btn-default">Submit</button>
		    </div>
		  </div>
        </form>
        <footer class="footer">
        <p>&copy; 2016 favefan</p>
      </footer>
     </div>
</body>
</html>